/************************************************************************/
/*									*/
/*			   Copyright (C)				*/
/*			    Loquendo SpA				*/
/*			  All Rights Reserved				*/
/*									*/
/************************************************************************/

/************************************************************************/
/*									*/
/*	    SPECIFIC DECLARATION FOR LOQUENDO AUDIO DESTINATION		*/
/*									*/
/************************************************************************/

#if !defined LoquendoAudioStub_H_HAS_BEEN_ALREADY_INCLUDED
#define LoquendoAudioStub_H_HAS_BEEN_ALREADY_INCLUDED

#include "../include/Loquendo/loqtts.h"
ttsResultType LoquendoAudioStubGetVersion(char * strversion);
ttsResultType LoquendoAudioStubOpen(void **channel,const char *specs, unsigned int SampleRate,const char *coding,ttsBoolType *bRealTime);
ttsResultType LoquendoAudioStubCustomOpen(void **channel,const char *specs, unsigned int SampleRate,const char *coding,ttsBoolType *bRealTime, const void *pUser);
ttsResultType LoquendoAudioStubClose(void *channel);
ttsResultType LoquendoAudioStubPutData(void *channel,void *pData,unsigned int nBytes,unsigned int *nSent);
ttsResultType LoquendoAudioStubStop(void *channel);
ttsResultType LoquendoAudioStubPause(void *channel);
ttsResultType LoquendoAudioStubResume(void *channel);
ttsResultType LoquendoAudioStubGetErrorMessage(ttsResultType ErrorCode,char *message,unsigned int size);
extern ttsGetProcTableAddrPointerType LoqAudioStubVirtualTable;

void SetCb(void(*cb)(void* channel, void* pData, unsigned int nBytes, unsigned int* nSent, void* pUser), void* pUser);
extern void(*PutDataCb)(void* channel, void* pData, unsigned int nBytes, unsigned int* nSent, void* pUser);

#endif /* LoquendoAudioStub_H_HAS_BEEN_ALREADY_INCLUDED */


